<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./vue.min.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
        <auth></auth>
        
    </div>
    <script type="text/javascript">
        var authExtend = Vue.extend({
            template:"<p><a :href='hUrl'>{{authorName}}</a></p>",
            data:function(){
                return {
                    authorName:'百度',
                    hUrl:'https://www.baidu.com'
                }
            }
        })
        new authExtend().$mount('auth');
    </script>
</body>
</html>